package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 功能模块表
 * @TableName yd_function
 */
@TableName(value ="yd_function")
@Data
public class YdFunction implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 编号
     */
    @TableField(value = "number")
    private String number;

    /**
     * 名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 上级编号
     */
    @TableField(value = "parent_number")
    private String parentNumber;

    /**
     * 链接
     */
    @TableField(value = "url")
    private String url;

    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private String sort;

    /**
     * 启用
     */
    @TableField(value = "enabled")
    private Boolean enabled;

    /**
     * 删除标记，0未删除，1删除
     */
    @TableField(value = "delete_flag")
    private String deleteFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}